def md2html(filename: str):
    x  = "a"
    if '.md' not in filename:
        raise Exception("this is not a markdown file, please checkout the file type.")
    return filename.replace('.md', '.html')